package com.example.mvvmtemplate.base.viewmodel;

import android.app.Application;

import androidx.annotation.NonNull;
import androidx.lifecycle.AndroidViewModel;
import androidx.lifecycle.MutableLiveData;

import org.jetbrains.annotations.NotNull;

public class BaseAndroidViewModel extends AndroidViewModel {

    public BaseAndroidViewModel(@NonNull @NotNull Application application) {
        super(application);
    }

    private final MutableLiveData<Throwable> throwableLiveData = new MutableLiveData<>();

    public MutableLiveData<Throwable> getThrowableLiveData() {
        return throwableLiveData;
    }
}
